<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ResponseResult</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class ResponseResult implements Serializable{

    private int code; //返回状态码200成功
    private String msg; //返回描述信息
    private User data; //返回内容体

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMsg(){
        return msg;
    }

    public void setMsg(String msg){
        this.msg = msg;
    }

    public User getData(){
        return data;
    }

    public void setData(User data){
        this.data = data;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class User implements Serializable{

    private long uid; //
    private String username; //
    private String password; //
    private String token; //
    private String name; //
    private long createTime; //
    private long updateTime; //
    private String mobile; //
    private boolean gender; //
    private byte userRole; //
    private String avatar; //
    private long lastLoginTime; //

    public long getUid(){
        return uid;
    }

    public void setUid(long uid){
        this.uid = uid;
    }

    public String getUsername(){
        return username;
    }

    public void setUsername(String username){
        this.username = username;
    }

    public String getPassword(){
        return password;
    }

    public void setPassword(String password){
        this.password = password;
    }

    public String getToken(){
        return token;
    }

    public void setToken(String token){
        this.token = token;
    }

    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name = name;
    }

    public long getCreateTime(){
        return createTime;
    }

    public void setCreateTime(long createTime){
        this.createTime = createTime;
    }

    public long getUpdateTime(){
        return updateTime;
    }

    public void setUpdateTime(long updateTime){
        this.updateTime = updateTime;
    }

    public String getMobile(){
        return mobile;
    }

    public void setMobile(String mobile){
        this.mobile = mobile;
    }

    public boolean getGender(){
        return gender;
    }

    public void setGender(boolean gender){
        this.gender = gender;
    }

    public byte getUserRole(){
        return userRole;
    }

    public void setUserRole(byte userRole){
        this.userRole = userRole;
    }

    public String getAvatar(){
        return avatar;
    }

    public void setAvatar(String avatar){
        this.avatar = avatar;
    }

    public long getLastLoginTime(){
        return lastLoginTime;
    }

    public void setLastLoginTime(long lastLoginTime){
        this.lastLoginTime = lastLoginTime;
    }

}
</pre>



<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>